//
//  MyOrderViewCell.m
//  MIDI
//
//  Created by E.M.Game on 15/9/11.
//  Copyright (c) 2015年 QXSX. All rights reserved.
//

#import "MyOrderViewCell.h"
#import "AppConfig.h"

@interface MyOrderViewCell ()

@end

@implementation MyOrderViewCell
- (void)awakeFromNib {
    
    self.descLb.lineBreakMode = NSLineBreakByCharWrapping;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    //[super setSelected:selected animated:animated];
}

+(id)loadFromNib
{
    NSString *nibName = NSStringFromClass([self class]);
    return [[[NSBundle mainBundle] loadNibNamed:nibName owner:nil options:nil] firstObject];
    
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    
    for (UIView *subView in self.subviews)
    {
        if ([NSStringFromClass([subView class]) isEqualToString:@"UITableViewCellDeleteConfirmationView"])
        {
            UIView *del = ((UIView *)[subView.subviews firstObject]);
            del.backgroundColor = UIColorRGBA(19, 208, 202, 1);
        }
    }
}

@end
